package com.example.myfirstapp2;

import android.os.Handler;

public class BKT_AuctionDoBuyDecsion extends Thread {
	Handler m_handler = null;
	BuyerOrder m_order = null;
	public BKT_AuctionDoBuyDecsion(BuyerOrder o, Handler h) {
		m_order = o;
		m_handler = h;
	}

	public void run()
	{
		MyHttp http = new MyHttp();

		int ret = 0;
		try {
			http.LogintToAuction();
			ret = http.DoBuyDecision(m_order);
		} catch (Exception e) {
			e.printStackTrace();

		}
		
		m_handler.sendEmptyMessage(ret);
	}
}
